%% Author: vvorobyov
%% Created: 09.07.2009
%% Description: TODO: Add description to iter_ets_lookup
-module(iter_ets_lookup).

%%
%% Include files
%%

%%
%% Exported Functions
%%
-export([new/2]).

%%
%% API Functions
%%

new(Tab,Key) ->
	iter:fun_factory(
	  fun()->
			  iter:from_list(ets:lookup(Tab, Key))
	  end).

%%
%% Local Functions
%%

